//
//  DDDetailsBottomView.h
//  Dingdong
//
//  Created by 程强 on 16/11/28.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, DingDongDetailsOperationType) {
    DingDongDetailsOperationTypeWish = 0,
    DingDongDetailsOperationTypeConsult,
    DingDongDetailsOperationTypeAddToCart,
    DingDongDetailsOperationTypeBuyNow,
};

@class DDDetailsBottomView;
@protocol DDDetailsBottomViewDelegate <NSObject>
- (void)bottomView:(DDDetailsBottomView *)botView didOperationWithType:(DingDongDetailsOperationType)type;
@end

@interface DDDetailsBottomView : UIView
@property (assign, nonatomic) id<DDDetailsBottomViewDelegate> delegate;
@property (assign, nonatomic) BOOL wished;
@end
